package com.jy.adscm.stock.service;

import com.jy.adscm.exception.AdscmSystemException;
import com.jy.adscm.order.bean.JyProduct;
import com.jy.adscm.security.utils.Token;
import com.jy.adscm.stock.bean.JyOutStorage;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zyl
 * @since 2019-01-23
 */
public interface JyOutStorageService extends IService<JyOutStorage> {

    boolean insertJyOutStorage(JyOutStorage jyOutStorage, Token token)throws AdscmSystemException;

    boolean deleteJyOutStorage(Integer id, Token token)throws AdscmSystemException;

    Boolean updateJyOutStorage(JyOutStorage jyOutStorage, Token token)throws AdscmSystemException;

    List<JyOutStorage> selectAll(Token token)throws AdscmSystemException;

    List<JyProduct> selectProduct(Token token);
}
